#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
#define rep(i, a, b) for (int i = (a); i <= (b); i++)
#define per(i, a, b) for (int i = (a); i >= (b); i--)
#define endl '\n'
const int N = 2e5 + 5;

int n, m;
int a, b, c;

void out(double x) { cout << fixed << setprecision(6) << x; }
void solve() {
  cin >> a >> b >> c;
  if (!a) {
    if (!b) {
      if ((!c))
        cout << -1;
      else
        cout << 0;
    } else {
      cout << 1 << endl;
      out(-1.0 * c / b);
    }
  } else {
    ll delta = 1ll * b * b - 4ll * a * c;
    if (delta < 0)
      cout << 0;
    else if (delta == 0) {
      cout << 1 << endl;
      out(-0.5 * b / a);
    } else {
      double c = 0.5 * sqrt(delta) / abs(a);
      cout << 2 << endl;
      out(-0.5 * b / a - c);
      cout << endl;
      out(-0.5 * b / a + c);
    }
  }
  return;
}
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int t;
  t = 1;
  while (t--) solve();
  return 0;
}